﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Orid.Management.Statistics.Tools.Decomposition.Model
{
    class ModelFrameObject:ModelBase
    {
        /// <summary>
        /// FrameID
        /// </summary>
        Guid frameID;
        /// <summary>
        /// FrameID
        /// </summary>
        public Guid FrameID
        {
            get { return frameID; }
            set { frameID = value; }
        }
 	
        /// <summary>
        /// 父画像ID
        /// </summary>
       Guid parentid;
        /// <summary>
        /// 父画像ID
        /// </summary>
       public Guid Parentid
       {
           get { return parentid; }
           set { parentid = value; }
       }

        /// <summary>
        /// MT入力时长
        /// </summary>
       double mTDuration;
        /// <summary>
        /// MT入力时长
        /// </summary>
       public double MTDuration
       {
           get { return mTDuration; }
           set { mTDuration = value; }
       }

       //double mTPropagationTime;
       // /// <summary>
       // /// MT全部时长 含上传下载
       // /// </summary>
       //public double MTPropagationTime
       //{
       //    get { return mTPropagationTime; }
       //    set { mTPropagationTime = value; }
       //}

        /// <summary>
        /// Trimer时长
        /// </summary>
       double trimerDuration;
        /// <summary>
        /// Trimer时长
        /// </summary>
       public double TrimerDuration
       {
           get { return trimerDuration; }
           set { trimerDuration = value; }
       }
    
       //ma Release25 drop
       //double trimerPropagationTime;
       // /// <summary>
       // /// trimer全部时长
       // /// </summary>
       //public double TrimerPropagationTime
       //{
       //    get { return trimerPropagationTime; }
       //    set { trimerPropagationTime = value; }
       //}

        /// <summary>
        /// MT录入时间	
        /// </summary>
       DateTime? mTInputDateTime;
        /// <summary>
        /// MT录入时间	
        /// </summary>
       public DateTime? MTInputDateTime
       {
           get { return mTInputDateTime; }
           set { mTInputDateTime = value; }
       }

 
        /// <summary>
        /// Trimer录入时间
        /// </summary>
       DateTime? trimerInputDateTime;
        /// <summary>
        /// Trimer录入时间
        /// </summary>
       public DateTime? TrimerInputDateTime
       {
           get { return trimerInputDateTime; }
           set { trimerInputDateTime = value; }
       }
 
	    /// <summary>
	    /// MT矩形个数
	    /// </summary>
       int mTBlockCount;
        /// <summary>
	    /// MT矩形个数
	    /// </summary>
       public int MTBlockCount
       {
           get { return mTBlockCount; }
           set { mTBlockCount = value; }
       }
        
    
      
 
        /// <summary>
        /// Trimer矩形个数
        /// </summary>
       int trimerBlockCount;
        /// <summary>
        /// Trimer矩形个数
        /// </summary>
       public int TrimerBlockCount
       {
           get { return trimerBlockCount; }
           set { trimerBlockCount = value; }
       }

     
 	
       // /// <summary>
       // /// 做成时间
       // /// </summary>
       //DateTime? createdatetime;
       // /// <summary>
       // /// 做成时间
       // /// </summary>
       //public DateTime? Createdatetime
       //{
       //    get { return createdatetime; }
       //    set { createdatetime = value; }
       //}
        /// <summary>
        /// 坐标
        /// </summary>
       int x, y, width, height;

       public int X
       {
           get { return x; }
           set { x = value; }
       }

       public int Y
       {
           get { return y; }
           set { y = value; }
       }

       public int Width
       {
           get { return width; }
           set { width = value; }
       }

       public int Height
       {
           get { return height; }
           set { height = value; }
       }

        /// <summary>
        /// JobClassID
        /// </summary>
       Guid mTJobID, trimerJobID;
        /// <summary>
        /// TrimerjobID
        /// </summary>
       public Guid TrimerJobID
       {
           get { return trimerJobID; }
           set { trimerJobID = value; }
       }
        /// <summary>
        ///  MTJobID
        /// </summary>
       public Guid MTJobID
       {
           get { return mTJobID; }
           set { mTJobID = value; }
       }
        /// <summary>
        /// 受番ID
        /// </summary>
       Guid orderID;
        /// <summary>
        /// 受番ID
        /// </summary>
       public Guid OrderID
       {
           get { return orderID; }
           set { orderID = value; }
       }

       int categoryID;

       public int CategoryID
       {
           get { return categoryID; }
           set { categoryID = value; }
       }

       string mTComment;

        //付签
       public string MTComment
       {
           get { return mTComment; }
           set { mTComment = value; }
       }


       string trimerComment;

       public string TrimerComment
       {
           get { return trimerComment; }
           set { trimerComment = value; }
       }

       List<ModelProgress> listModelProgress = new List<ModelProgress>();

       public List<ModelProgress> ListModelProgress
       {
           get { return listModelProgress; }
           set { listModelProgress = value; }
       }


       ModelDistinguishObject machineDistinguishObject = null;

       internal ModelDistinguishObject MachineDistinguishObject
       {
           get { return machineDistinguishObject; }
           set {
               if (machineDistinguishObject == null)
                   machineDistinguishObject = new ModelDistinguishObject();
               machineDistinguishObject = value; 
           }
       }
       ModelDistinguishObject manuelDistinguishObject = null;

       internal ModelDistinguishObject ManuelDistinguishObject
       {
           get { return manuelDistinguishObject; }
           set {
               if (manuelDistinguishObject == null)
                   manuelDistinguishObject = new ModelDistinguishObject();
               manuelDistinguishObject = value; 
           }
       }


       Guid? dataStoreID;

       public Guid? DataStoreID
       {
           get { return dataStoreID; }
           set { dataStoreID = value; }
       }

       int fileSize;

       public int FileSize
       {
           get { return fileSize; }
           set { fileSize = value; }
       }

        /// <summary>
        /// 2011-4-1
        /// </summary>
       public ModelProperty MProperty { get; set; }
 
    }
}
